/**
 * Copyright 2009 Takahiko Ito
 *
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.unigram.oluolu.common;

/**
 * Contains constants used in Oluolu.
 */
public final class OluoluConstants {

    /** symbol: input format of time expression. */
    public static final String DATE_FORMAT = "oluolu.date.format";

    /** symbol: extractor. */
    public static final String EXTRACTOR = "oluolu.extractor";

    /** symbol: number of reducers. */
    public static final String NUMBER_OF_REDUCES
        = "oluolu.reduces";

    /** symbol: logger. */
    public static final String OLUOLU_LOGGER = "oluolu.logger";

    /** symbol: counter group. */
    public static final String COUNTER_GROUP
        = "org.apache.hadoop.mapred.Task$Counter";

    /** symbol: number of input records. */
    public static final String OLUOLU_INPUT_RECORDS
        = "oluolu.input.record";

    /** default: input date format. */
    public static final String DEFAULT_DATE_FORMAT
        = "yyyy-MM-dd HH:mm:ss";

    /** default: default Extractor.
     * (should be a class name inherits IExtractor) */
    public static final String DEFAULT_EXTRACTOR
        = "org.unigram.oluolu.extractor.BasicExtractor";

    /** default: number of reducers. */
    public static final int DEFAULT_NUMBER_OF_REDUCES = 2;

    /** for safe. */
    private OluoluConstants() { }
}
